import ccclass = cc._decorator.ccclass;

@ccclass("FsmBase")
export default abstract class FsmBase {

    /**
     * 获取有限状态机持有者类型。
     * @constructor
     */
    abstract  OwnerType():any;

    abstract  FsmStateCount():number;

    abstract  IsRunning():boolean;

    abstract IsDestroy():boolean;

    abstract  CurrentStateName():string;

    abstract  CurrentStateTime():number;

    abstract Update(elapseSeconds:number,realElapseSeconds:number):void;

    abstract Shutdown():void;

}